package com.xinzhidi.web.equipmentAlarm.domain.dto;

import com.xinzhidi.common.annotation.Excel;
import com.xinzhidi.common.core.page.PageQueryDto;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.List;


/**
 * 设备告警ListDto对象 equipment_alarm
 *
 * @author ruoyi
 * @date 2023-05-31
 */
@ApiModel(value = "设备告警ListDto对象")
@Data
@EqualsAndHashCode(callSuper = false)
public class EquipmentAlarmListDto extends PageQueryDto {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "小区id")
    private Long plotId;

    @ApiModelProperty(value = "楼栋id")
    private Long buildId;

    @ApiModelProperty(value = "单元id")
    private Long unitId;

    @ApiModelProperty(value = "门牌号")
    private String houseNumber;

    @ApiModelProperty(value = "告警设置id")
    private Long settingId;

    @ApiModelProperty(value = "告警等级")
    private String alarmLevel;

    @ApiModelProperty(value = "是否推送（0：推送  1：不推送  默认0）")
    private Integer hideOrPush;

    @ApiModelProperty(value = "状态（0：未处理  1：已处理 ）")
    @Excel(name = "状态", readConverterExp = "0=：未处理,1=：已处理")
    private String status;

    @ApiModelProperty(value = "设备种类（字典alarm_type  1：通讯异常  2：超限异常  3：波动异常）")
    private String alarmType;

    @ApiModelProperty(value = "设备名称")
    private String keyword;

    @ApiModelProperty(value = "开始时间")
    private String startTime;

    @ApiModelProperty(value = "结束时间")
    private String endTime;

}
